using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Resources;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace KPIS.GERP.Models.HRM
{
	[Table("HrmPrSalaryGroupDtls")]
    public class PrSalaryGroupDtls
    {
		[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
		[DataMember, Display(Name = "GrpDtlsId", ResourceType = typeof(Resources.PrSalaryGroupDtlsResource))]
        public int GrpDtlsId { get; set; }

		[ForeignKey("SalGrp")]
		[DataMember, Display(Name = "SalGrpId", ResourceType = typeof(Resources.PrSalaryGroupDtlsResource))]
        public Nullable<int> SalGrpId { get; set; }

		[DataMember, Display(Name = "SalLevelNo", ResourceType = typeof(Resources.PrSalaryGroupDtlsResource))]
        public Nullable<decimal> SalLevelNo { get; set; }

		[DataMember, Display(Name = "SalMin", ResourceType = typeof(Resources.PrSalaryGroupDtlsResource))]
        public Nullable<double> SalMin { get; set; }

		[DataMember, Display(Name = "SalMax", ResourceType = typeof(Resources.PrSalaryGroupDtlsResource))]
        public Nullable<double> SalMax { get; set; }

		[DataMember, Display(Name = "SalTmp", ResourceType = typeof(Resources.PrSalaryGroupDtlsResource))]
        public Nullable<double> SalTmp { get; set; }

		[DataMember, Display(Name = "SalDay", ResourceType = typeof(Resources.PrSalaryGroupDtlsResource))]
        public Nullable<double> SalDay { get; set; }

		[DataMember, Display(Name = "SalHour", ResourceType = typeof(Resources.PrSalaryGroupDtlsResource))]
        public Nullable<double> SalHour { get; set; }

		[DataMember, Display(Name = "SalGrow", ResourceType = typeof(Resources.PrSalaryGroupDtlsResource))]
        public Nullable<double> SalGrow { get; set; }

		[DataMember, Display(Name = "RecordStatus", ResourceType = typeof(Resources.PrSalaryGroupDtlsResource))]
        public string RecordStatus { get; set; }

		[DataMember, Display(Name = "CreatedBy", ResourceType = typeof(Resources.PrSalaryGroupDtlsResource))]
        public Nullable<int> CreatedBy { get; set; }

		[DataMember, Display(Name = "CreatedWhen", ResourceType = typeof(Resources.PrSalaryGroupDtlsResource))]
        public Nullable<System.DateTime> CreatedWhen { get; set; }

		[DataMember, Display(Name = "UpdatedBy", ResourceType = typeof(Resources.PrSalaryGroupDtlsResource))]
        public Nullable<int> UpdatedBy { get; set; }

		[DataMember, Display(Name = "UpdatedWhen", ResourceType = typeof(Resources.PrSalaryGroupDtlsResource))]
        public Nullable<System.DateTime> UpdatedWhen { get; set; }

		public virtual HRM.PrSalaryGroup SalGrp { get; set; }

    }
}